home *** CD-ROM | disk | FTP | other *** search
/ ...taking it to the Macs! / ...taking it to the Macs!.iso / Extras / ActiveX Mac SDK / ActiveX SDK / Container Common / all.h < prev    next >
Text File  |  1997-01-03  |  679b  |  38 lines

  1. //
  2. //  all.h
  3. //
  4. //  Copyright (C) Microsoft Corporation, 1996
  5. //
  6.  
  7. #include "config.h"
  8.  
  9. #include <Files.h>
  10. #include <TextUtils.h>
  11. #include <string.h>
  12. #include "debug.h"
  13.  
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17.  
  18. char *  OleStrdup(char * psz);
  19. void *  CoTaskMemAlloc(unsigned long cb);
  20. void    CoTaskMemFree(void * pv);
  21.  
  22. #ifdef __cplusplus
  23. }
  24. #endif
  25.  
  26. #define CONST               const
  27. #define PUBLIC
  28. #define PRIVATE             static
  29.  
  30. #define MAX_URL_STRING      1024
  31.  
  32. #define GTR_MALLOC          CoTaskMemAlloc
  33. #define GTR_FREE            CoTaskMemFree
  34. #define GTR_strdup(x)       ((char *) OleStrdup((char *)(x)))
  35. #define GTR_strncpy(x,y,z)  strncpy(x, y, z)
  36.  
  37. #include "htparse.h"
  38.